package com.tenement.config;

import com.mybatisflex.core.tenant.TenantFactory;
import com.tenement.common.TenantFactoryx;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FlexConfig {
    @Bean
    public TenantFactory tenantFactory(){
        TenantFactory tenantFactory = new TenantFactoryx();
        return tenantFactory;
    }

}
